package rg.edu.ap.dao;

import java.util.List;

import org.apache.ibatis.annotations.Param;

import rg.edu.ap.po.Seat;

public interface SeatDao {

	public int addSeat(@Param("bathid")int bathid,@Param("merid")int merid,@Param("si")int si,@Param("seatsex")int seatsex,@Param("seatflag")int seatflag,@Param("seatprice")int seatprice);

	public List makeSeat(Seat seat);

	public void delSeat(Seat seat);

	public void updateUserSeat(@Param("bathid")int bathid,@Param("merid")int merid,@Param("userid")int userid,@Param("usercost")int usercost,@Param("seatflag")int seatflag, @Param("sn")int sn);

	public List findOrderSeat(int userid);

}
